import '../styles/globals.css'
import withRedux from "next-redux-wrapper"
import { Provider } from 'react-redux'
import {wrapper} from '../store/createStore'
import {AppProps} from "next/app";

function MyApp({ Component, pageProps }) {
  return <Component {...pageProps} />
}
export default MyApp

// const WrappedApp = ({Component, pageProps}) => (
//   <Component {...pageProps} />
// );

// export default wrapper.withRedux(WrappedApp);
